package myauctioneer;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

import java.util.Vector;

public class SmartphoneDAO implements ArticleDAO {
	
	private App app;
	private Connection conn;
	/**
	 * Smartphone, Notebook, TabletPC
	 */
	private final String CATEGORY="Smartphone";

	//Exception handling ...	
	public SmartphoneDAO(App app) {
		this.app=app;
		this.conn=app.getDb();	
	};
	
	/**
	 * Vector mit allen verf&uuml;gbaren Article Objekten zur&uuml;ckgeben
	 */
	public Vector<Article> loadArticles() {
			
		return null;
	}
	/**
	 * Einzelnes Article Objekt zur&uuml;ckgeben
	 */
	public Vector<Article> loadArticle(int item_id) {
		return null;
	}
	/**
	 * Einzelnes Article Objekt speichern
	 * returns &quot;Article&quot; ... chaining
	 */
	public Article saveArticle(Article article) {
		return null;
	}
}
